

#ifndef _SHELL_REQINLAYDISCHARGE_MESSAGE_H_
#define _SHELL_REQINLAYDISCHARGE_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqInlayDischargeMessage : public Message
{
	public:
	ReqInlayDischargeMessage();
	~ReqInlayDischargeMessage();
	void reset();
	ReqInlayDischargeMessage* clone();
	static const int _ID;
	//装备动态id
	int64 equipId;
	//宝石资源id(0.表示全部卸载)
	int32 propId;
	//宝石在list中所处位置
	int32 propPosition;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
